package com.kc.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.kc.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * FileName: KcFreeTicketApply
 * Author:   TP
 * Date:     2020-10-27 11:25
 * Description:免费票申请信息实体类
 */
@Data
public class KcFreeTicketApply implements Serializable {

    private static final long serialVersionUID = -1682221943656225684L;

    private int id;

    /**
     * 申请人ID
     */
    @Excel(name = "申请用户ID", width = 30)
    private Integer applyUserId;

    /**
     * 用户真实姓名
     */
    @Excel(name = "用户真实姓名", width = 30)
    private String realname;

    /**
     * 用户手机号
     */
    @Excel(name = "手机号", width = 50)
    private String mobile;

    /**
     * 免费人群类型(1:老人 2:儿童 3:学生 4:教师 5:残疾人 6:军人)
     */
    @Excel(name = "人群类型", readConverterExp = "1=老人,2=儿童,3=学生,4=教师,5=残疾人,6=军人", width = 25)
    private String freePeopleType;

    /**
     * 证件图片地址
     */
    @Excel(name = "证件图片地址", width = 60)
    private String certificatesImgUrl;

    /**
     * 审核状态：(0:待审核 1:通过 2:未通过 3:已取消）
     */
    @Excel(name = "审核状态", readConverterExp = "0=审核中,1=审核通过,2=审核拒绝,3=用户撤消", width = 30)
    private Integer auditStatus;

    /**
     * 审核拒绝原因
     */
    @Excel(name = "审核意见", width = 80)
    private String rejectReason;

    /**
     * 创建时间
     */
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 修改时间
     */
    @Excel(name = "修改", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 修改人ID
     */
    private int updateUserId;

}
